import { setIofo, getIofo } from '@/utils/storage'

export default {
  namespaced: true,
  state () {
    return {
      token: getIofo()
    }
  },
  mutations: {
    setUserToken (state, value) {
      state.token = value
      setIofo(value)
    }
  },
  actions: {},
  getters: {}
}
